let tableMain1 = [
    {
        "physicalExaminationDate":"2018-09-17",//体检日期
        "height":174,//身高，单位cm
        "weight":57,//体重，单位kg
        "waistline":34,//腰围，单位cm
        "sleep":0,//睡眠质量1一觉到天亮2早醒后难入睡3入睡困难4多梦、常醒
        "sleepTime":10,//睡眠时长，详见参数说明
        "FBG":11.21,//空腹血糖
        "PBG":13.21,//餐后血糖
        "HBALC":10.10,//糖化血红蛋白
        "Scr":130.20,//血肌酐
        "scrUnit":1,//血肌酐单位 1=umol/L 2=mg/dl
        "uricAcid":51,//尿酸
        "eGFR":20.01,
        "TG":21.01,//甘油三酯
        "TCHO":30.01,//总胆固醇
        "LDL":40.01,//低密度脂蛋白胆固醇
        "Hcy":50,//血浆同型半胱氨酸
        "serumKalium":60.01,//血钾
        "MAU":70,//尿微量白蛋白
        "fundoscopy":"眼底检查",//眼底检查
        "oralExamination":"口腔检查",//口腔检查
        "footExamination":"足部检查",//足部检查
        "PNP":"周围神经病变的相关检查",
        "auscultation":"听诊",
        "isExercise":1,//是否运动，详见参数说明
        "appetite":1,//口味轻重 1=轻 2=重 3=中
        "drink":10,//饮酒，详见参数说明
        "smok":10,//吸烟，详见参数说明
        "quitSmokingYear": 10, //戒烟-年
        "preSmokingYear": 10, //之前抽烟-年
        "preSmokingBags": 1, //之前抽烟每天包
        "smokingYear": 10, //抽烟多少年
        "smokingBags": 2, //抽烟每天包
        "HDL":10.00,//高密度脂蛋白胆固醇
        "serumNa":20,//血钠
        "nutrition":1,//饮食营养 1均衡（荤素搭配较好）2偏食（偏荤/偏素/纯素食）3应酬多食量大
        "snore":1,//打鼾 1打鼾2打鼾伴呼吸暂停3无
        "AST":21,//AST
        "dailyWork":1,//日常工作或活动量1轻2中3重4超重
        "heartRate":123,//心率
        "ALT":132.00,
        "constipation":1,//便秘1否2是
        "BMI":132.01,//体重／身高²
        "SBP":100,//高压
        "DBP":100,//'低压
        "vegetableFruit": 10, //是否经常食用新鲜蔬菜和水果，详见参数说明
        "stress": 10, //压力，详见参数说明
        "dietaryHabit": 1, //饮食习惯，详见参数说明
        "dietaryHabitOther": "饮食习惯-其他",
        "drinking": 10, //喝水，详见参数说明
        "bloodUricAcid": 10.00, //血尿酸
        "hPylori": 10, //幽门螺杆菌,详见参数说明
        "picUrls":[]
    },
]
let tableMain = [
    [
        {//日期
            type:"dataTime",
            id:"physicalExaminationDate",
            value:"2020-10-02",
        },
        {//吸烟
            type:"select",
            id:"smok",
            value:"",
            options:[
                {
                    name:"从未",
                    value:10
                },
                {
                    name:"不吸烟但经常吸二手烟",
                    value:20
                },
                {
                    name:"已戒烟",
                    value:30,
                    children:[
                        {
                            id:"quitSmokingYear",
                            type:"inputText",
                            name:"戒烟(年)",
                            value:""
                        },
                        {
                            id:"preSmokingYear",
                            type:"inputText",
                            name:"之前抽烟(年)",
                            value:""
                        },
                        {
                            id:"preSmokingBags",
                            type:"inputText",
                            name:"每天(包)",
                            value:""
                        }
                    ]
                },
                {
                    name:"是的",
                    value:40,
                    children:[
                        {
                            id:"smokingYear",
                            type:"inputText",
                            name:"抽烟(年)",
                            value:""
                        },
                        {
                            id:"smokingBags",
                            type:"inputText",
                            name:"每天(包)",
                            value:""
                        }
                    ]
                }
            ]
        },
        {//运动
            type:"select",
            id:"isExercise",
            value:"",
            options:[
                {
                    name:"几乎从不",
                    value:10
                },
                {
                    name:"偶尔",
                    value:20
                },
                {
                    name:"经常",
                    value:30,
                },
                {
                    name:"总是",
                    value:40,
                }
            ]
        },
        {//饮酒
            type:"select",
            id:"drink",
            value:"",
            options:[
                {
                    name:"几乎从不",
                    value:10
                },
                {
                    name:"偶尔",
                    value:20
                },
                {
                    name:"经常,少量",
                    value:30,
                },
                {
                    name:"经常,中量",
                    value:40,
                },
                {
                    name:"长期嗜酒",
                    value:50,
                }
            ]
        },
        {//口味轻重
            type:"select",
            id:"appetite",
            value:"",
            options:[
                {
                    name:"轻",
                    value:1
                },
                {
                    name:"中",
                    value:2
                },
                {
                    name:"重",
                    value:3,
                }
            ]
        },
        {//身高
            type:"textNumber",
            id:"height",
            value:"",
            rules:{
                type:"num",
                min:0.5,
                max:3
            }
        },
        {//体重
            type:"textNumber",
            id:"weight",
            value:"",
            rules:{
                type:"num",
                min:3,
                max:200
            }
        },
        {//BMI
            type:"textNumber",
            id:"BMI",
            value:"",
        },
        {//腰围
            type:"textNumber",
            id:"waistline",
            value:"",
            rules:{
                type:"num",
                min:30,
                max:200
            }
        },
        {//心率
            type:"textNumber",
            id:"heartRate",
            value:"",
            rules:{
                type:"num",
                min:30,
                max:200
            }
        },
        {//收缩压
            type:"textNumber",
            id:"SBP",
            value:"",
            rules:{
                type:"num",
                min:0,
                max:250
            }
        },
        {//舒张压
            type:"textNumber",
            id:"DBP",
            value:"",
            rules:{
                type:"num",
                min:0,
                max:250
            }
        },
        {//空腹血糖
            type:"textNumber",
            id:"FBG",
            value:"",
            rules:{
                type:"num",
                min:0,
                max:40
            }
        },
        {//餐后2h血糖
            type:"textNumber",
            id:"PBG",
            value:"",
            rules:{
                type:"num",
                min:0,
                max:40
            }
        },
        {//低密度脂蛋白胆固醇
            type:"textNumber",
            id:"LDL",
            value:"",
            rules:{
                type:"num",
                min:0,
                max:40
            }
        },
        {//是否经常食用新鲜蔬菜和水果
            type:"select",
            id:"vegetableFruit",
            value:"",
            options:[
                {
                    name:"几乎从不",
                    value:10
                },
                {
                    name:"偶尔",
                    value:20
                },
                {
                    name:"经常",
                    value:30,
                }
            ]
        },
        {//日常工作或活动量
            type:"select",
            id:"dailyWork",
            value:"",
            options:[
                {
                    name:"轻(大部分坐着或日常家居)",
                    value:1
                },
                {
                    name:"中(坐、走频繁重复)",
                    value:2
                },
                {
                    name:"重(大部分站着或走动)",
                    value:3,
                },
                {
                    name:"超重(须用全身肌肉)",
                    value:4,
                }
            ]
        },
        {//睡眠时长
            type:"select",
            id:"sleepTime",
            value:"",
            options:[
                {
                    name:"不足6个小时",
                    value:10
                },
                {
                    name:"6-7个小时",
                    value:20
                },
                {
                    name:"7-8个小时",
                    value:30,
                },
                {
                    name:"8个小时以上",
                    value:40,
                }
            ]
        },
        {//压力
            type:"select",
            id:"stress",
            value:"",
            options:[
                {
                    name:"没有压力",
                    value:10
                },
                {
                    name:"一般压力",
                    value:20
                },
                {
                    name:"很大压力",
                    value:30,
                },
                {
                    name:"几乎崩溃",
                    value:40,
                }
            ]
        },
        {//睡眠质量
            type:"select",
            id:"sleep",
            value:"",
            options:[
                {
                    name:"一觉到天亮",
                    value:1
                },
                {
                    name:"早醒后难入睡",
                    value:2
                },
                {
                    name:"入睡困难",
                    value:3,
                },
                {
                    name:"多梦、常醒",
                    value:4,
                }
            ]
        },
        {//打鼾
            type:"select",
            id:"snore",
            value:"",
            options:[
                {
                    name:"打鼾",
                    value:1
                },
                {
                    name:"打鼾伴呼吸暂停",
                    value:2
                },
                {
                    name:"无",
                    value:3,
                }
            ]
        },
        {//便秘
            type:"select",
            id:"constipation",
            value:"",
            options:[
                {
                    name:"是",
                    value:1
                },
                {
                    name:"否",
                    value:2
                }
            ]
        },
        {//饮食习惯
            type:"select",
            id:"dietaryHabit",
            value:"",
            options:[
                {
                    name:"偏咸",
                    value:1
                },
                {
                    name:"偏甜",
                    value:2
                },
                {
                    name:"偏油",
                    value:4
                },
                {
                    name:"清淡",
                    value:8
                },
                {
                    name:"其它",
                    value:"",
                    children:[
                        {
                            id:"dietaryHabitOther ",
                            type:"inputText",
                            name:"其他",
                            value:""
                        }
                    ]
                }
            ]
        },
        {//每天喝多少水
            type:"select",
            id:"drinking",
            value:"",
            options:[
                {
                    name:"口渴了才会喝水",
                    value:10
                },
                {
                    name:"每天主动喝水1-2杯",
                    value:20
                },
                {
                    name:"每天主动喝水3-4杯",
                    value:30
                },
                {
                    name:"每天主动喝水5杯及以上",
                    value:40
                }
            ]
        },
        {//饮食营养
            type:"select",
            id:"nutrition",
            value:"",
            options:[
                {
                    name:"均衡(荤素搭配较好)",
                    value:1
                },
                {
                    name:"偏食(偏荤/偏素/纯素食)",
                    value:2
                },
                {
                    name:"应酬多食量大",
                    value:3
                }
            ]
        },
        {//听诊(颈动脉/甲状腺/双肺/心脏查体/心律/心音等)
            type:"text",
            id:"auscultation",
            value:""
        },
        {//眼底检查结果
            type:"text",
            id:"fundoscopy",
            value:""
        },
        {//口腔检查
            type:"text",
            id:"oralExamination",
            value:""
        },
        {//足部检查
            type:"text",
            id:"oralExamination",
            value:""
        },
        {//糖化血红蛋白
            type:"textNumber",
            id:"HBALC",
            value:"",
            rules:{
                type:"num",
                min:0,
                max:20
            }
        },
        {//甘油三酯
            type:"textNumber",
            id:"TG",
            value:"",
            rules:{
                type:"num",
                min:0,
                max:12
            }
        },
        {//总胆固醇
            type:"textNumber",
            id:"TCHO",
            value:"",
            rules:{
                type:"num",
                min:0,
                max:15
            }
        },
        {//高密度脂蛋白胆固醇
            type:"textNumber",
            id:"HDL",
            value:"",
            rules:{
                type:"num",
                min:0,
                max:3
            }
        },
        {//血肌酐 数字+下拉单位
            type:"textNumber-slect",
            id:"Scr",
            value:'',
            rules:{
                type:"num",
                min:5,
                max:5000
            },
            unit:{
                name:"",
                id:"scrUnit",
                value:"",
                options:[
                    {
                        name:"umol/L",
                        value:1
                    },
                    {
                        name:"mg/dl",
                        value:2
                    }
                ]
            }
        },
        {//eGFR
            type:"textNumber",
            id:"eGFR",
            value:"",
        },
        {//尿酸
            type:"textNumber",
            id:"uricAcid",
            value:"",
            rules:{
                type:"num",
                min:0,
                max:1500
            }
        },
        {//血浆同型半胱氨酸
            type:"textNumber",
            id:"Hcy",
            value:"",
            rules:{
                type:"num",
                min:0,
                max:150
            }
        },
        {//血浆同型半胱氨酸
            type:"textNumber",
            id:"ALT",
            value:"",
            rules:{
                type:"num",
                min:0,
                max:150
            }
        },
        {//血浆同型半胱氨酸
            type:"textNumber",
            id:"AST",
            value:"",
            rules:{
                type:"num",
                min:0,
                max:1201
            }
        },
        {//日期
            type:"text",
            id:"height",
            value:177
        },
    ],[
        {
            type:"dataTime",
            id:"physicalExaminationDate",
            value:"2020-10-02"
        },
        {
            type:"select",
            id:"smok",
            value:"第二列",
            options:[
                {
                    name:"从未",
                    value:1
                },
                {
                    name:"不吸烟但经常吸二手烟",
                    value:2
                },
                {
                    name:"已戒烟",
                    value:3,
                    children:[
                        {
                            id:"quitSmokingYear",
                            type:"inputText",
                            name:"戒烟(年)",
                            value:""
                        },
                        {
                            id:"preSmokingYear",
                            type:"inputText",
                            name:"之前抽烟(年)",
                            value:""
                        },
                        {
                            id:"preSmokingBags",
                            type:"inputText",
                            name:"每天(包)",
                            value:""
                        }
                    ]
                },
                {
                    name:"是的",
                    value:4,
                    children:[
                        {
                            id:"smokingYear",
                            type:"inputText",
                            name:"抽烟(年)",
                            value:""
                        },
                        {
                            id:"smokingBags",
                            type:"inputText",
                            name:"每天(包)",
                            value:""
                        }
                    ]
                }
            ]
        },
    ]
]
export default tableMain;
